home *** CD-ROM | disk | FTP | other *** search
/ Visual Cafe 3 / Visual Cafe 3.ISO / Vcafe / JFC.bin / html32Constants.java < prev    next >
Text File  |  1998-06-30  |  4KB  |  213 lines

  1. /* Generated By:JavaCC: Do not edit this line. html32Constants.java */
  2. /*
  3.  * @(#)html32Constants.java    1.11 98/03/12
  4.  * 
  5.  * Copyright (c) 1997 Sun Microsystems, Inc. All Rights Reserved.
  6.  * 
  7.  * This software is the confidential and proprietary information of Sun
  8.  * Microsystems, Inc. ("Confidential Information").  You shall not
  9.  * disclose such Confidential Information and shall use it only in
  10.  * accordance with the terms of the license agreement you entered into
  11.  * with Sun.
  12.  * 
  13.  * SUN MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY OF THE
  14.  * SOFTWARE, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
  15.  * IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
  16.  * PURPOSE, OR NON-INFRINGEMENT. SUN SHALL NOT BE LIABLE FOR ANY DAMAGES
  17.  * SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING OR DISTRIBUTING
  18.  * THIS SOFTWARE OR ITS DERIVATIVES.
  19.  * 
  20.  */
  21. package com.sun.java.swing.text.html;
  22.  
  23. interface html32Constants {
  24.  
  25.   int EOF = 0;
  26.   int WHITESPACES = 3;
  27.   int STAGO = 4;
  28.   int ETAGO = 5;
  29.   int PCDATA = 6;
  30.   int A = 7;
  31.   int ADDRESS = 8;
  32.   int APPLET = 9;
  33.   int AREA = 10;
  34.   int B = 11;
  35.   int BASE = 12;
  36.   int BASEFONT = 13;
  37.   int BIG = 14;
  38.   int BLOCKQUOTE = 15;
  39.   int BODY = 16;
  40.   int BR = 17;
  41.   int CAPTION = 18;
  42.   int CENTER = 19;
  43.   int CITE = 20;
  44.   int CODE = 21;
  45.   int DD = 22;
  46.   int DFN = 23;
  47.   int DIR = 24;
  48.   int DIV = 25;
  49.   int DL = 26;
  50.   int DT = 27;
  51.   int EM = 28;
  52.   int FONT = 29;
  53.   int FORM = 30;
  54.   int H1 = 31;
  55.   int H2 = 32;
  56.   int H3 = 33;
  57.   int H4 = 34;
  58.   int H5 = 35;
  59.   int H6 = 36;
  60.   int HEAD = 37;
  61.   int HR = 38;
  62.   int HTML = 39;
  63.   int I = 40;
  64.   int IMG = 41;
  65.   int INPUT = 42;
  66.   int ISINDEX = 43;
  67.   int KBD = 44;
  68.   int LI = 45;
  69.   int LINK = 46;
  70.   int MAP = 47;
  71.   int MENU = 48;
  72.   int META = 49;
  73.   int OL = 50;
  74.   int OPTION = 51;
  75.   int P = 52;
  76.   int PARAM = 53;
  77.   int PRE = 54;
  78.   int PROMPT = 55;
  79.   int SAMP = 56;
  80.   int SCRIPT = 57;
  81.   int SELECT = 58;
  82.   int SMALL = 59;
  83.   int STRIKE = 60;
  84.   int S = 61;
  85.   int STRONG = 62;
  86.   int STYLE = 63;
  87.   int SUB = 64;
  88.   int SUP = 65;
  89.   int TABLE = 66;
  90.   int TD = 67;
  91.   int TEXTAREA = 68;
  92.   int TH = 69;
  93.   int TITLE = 70;
  94.   int TR = 71;
  95.   int TT = 72;
  96.   int U = 73;
  97.   int UL = 74;
  98.   int VAR = 75;
  99.   int UNKNOWN = 76;
  100.   int TAGC = 80;
  101.   int A_EQ = 81;
  102.   int ALPHA = 82;
  103.   int NUM = 83;
  104.   int ALPHANUM = 84;
  105.   int A_NAME = 85;
  106.   int ETAGOO = 86;
  107.   int STAGOO = 87;
  108.   int CDATA = 89;
  109.  
  110.   int DEFAULT = 0;
  111.   int TAG = 1;
  112.   int ATTLIST = 2;
  113.   int ATTRVAL = 3;
  114.   int ATTCOMM = 4;
  115.  
  116.   String[] tokenImage = {
  117.     "<EOF>",
  118.     "<token of kind 1>",
  119.     "<token of kind 2>",
  120.     "<WHITESPACES>",
  121.     "<STAGO>",
  122.     "\"</\"",
  123.     "<PCDATA>",
  124.     "\"a\"",
  125.     "\"address\"",
  126.     "\"applet\"",
  127.     "\"area\"",
  128.     "\"b\"",
  129.     "\"base\"",
  130.     "\"basefont\"",
  131.     "\"big\"",
  132.     "\"blockquote\"",
  133.     "\"body\"",
  134.     "\"br\"",
  135.     "\"caption\"",
  136.     "\"center\"",
  137.     "\"cite\"",
  138.     "\"code\"",
  139.     "\"dd\"",
  140.     "\"dfn\"",
  141.     "\"dir\"",
  142.     "\"div\"",
  143.     "\"dl\"",
  144.     "\"dt\"",
  145.     "\"em\"",
  146.     "\"font\"",
  147.     "\"form\"",
  148.     "\"h1\"",
  149.     "\"h2\"",
  150.     "\"h3\"",
  151.     "\"h4\"",
  152.     "\"h5\"",
  153.     "\"h6\"",
  154.     "\"head\"",
  155.     "\"hr\"",
  156.     "\"html\"",
  157.     "\"i\"",
  158.     "\"img\"",
  159.     "\"input\"",
  160.     "\"isindex\"",
  161.     "\"kbd\"",
  162.     "\"li\"",
  163.     "\"link\"",
  164.     "\"map\"",
  165.     "\"menu\"",
  166.     "\"meta\"",
  167.     "\"ol\"",
  168.     "\"option\"",
  169.     "\"p\"",
  170.     "\"param\"",
  171.     "\"pre\"",
  172.     "\"prompt\"",
  173.     "\"samp\"",
  174.     "\"script\"",
  175.     "\"select\"",
  176.     "\"small\"",
  177.     "\"strike\"",
  178.     "\"s\"",
  179.     "\"strong\"",
  180.     "\"style\"",
  181.     "\"sub\"",
  182.     "\"sup\"",
  183.     "\"table\"",
  184.     "\"td\"",
  185.     "\"textarea\"",
  186.     "\"th\"",
  187.     "\"title\"",
  188.     "\"tr\"",
  189.     "\"tt\"",
  190.     "\"u\"",
  191.     "\"ul\"",
  192.     "\"var\"",
  193.     "<UNKNOWN>",
  194.     "<token of kind 77>",
  195.     "<token of kind 78>",
  196.     "\"--\"",
  197.     "\">\"",
  198.     "\"=\"",
  199.     "<ALPHA>",
  200.     "<NUM>",
  201.     "<ALPHANUM>",
  202.     "<A_NAME>",
  203.     "\"</\"",
  204.     "\"<\"",
  205.     "<token of kind 88>",
  206.     "<CDATA>",
  207.     "<token of kind 90>",
  208.     "<token of kind 91>",
  209.     "\"--\"",
  210.   };
  211.  
  212. }
  213.